<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    
</head>
<body>
  
    <button onclick="o()"> &nbsp;&nbsp;<br/></button>
    <script src="seajs/sea.js"></script>
    <script>
        seajs.config({
            base: "lib/",
            alias: {
                "jquery": "jquery.js"
            },
            preload:["jquery"]
        });
        seajs.use("./main",function(main){
          
        });
        
        function o(){
            xyz.dialog.openDialog({title:'title',body:' <button onclick="o()"> &nbsp;&nbsp;<br/></button>',type:'alert',yes:function(){alert('111')}});
        }
    </script>
</body>
</html>